import request from '@api/request';
import { HttpUrl } from '@api/httpUrl';

// 获取仓库日志
export function getWarehouseLog(currentPage: number, pageSize: number) {
    return request.get<AjaxResponse['warehouseLogList']>(HttpUrl.getWarehouseLog, { params: { currentPage, pageSize } });
}

// 搜索仓库日志
export function searchWarehouseLog(currentPage: number, pageSize: number, keyword: string) {
    return request.get<AjaxResponse['warehouseLogList']>(HttpUrl.searchWarehouseLog, { params: { currentPage, pageSize, keyword } });
}
